package lab02.Test05;

/**
 * Created by lenovo on 2017/10/14.
 */
public class Cube {
    //属性
    private double length;
    private double width;
    private double highth;


    //行为
    public void setDomo(){
        this.highth=3;
        this.length=4;
        this.width=5;
    }
    public double getV(){
        return this.highth*this.width*this.length;
    }


    //函数

}
